<%--
  Created by IntelliJ IDEA.
  User: MHT
  Date: 2017/7/1
  Time: 16:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<body>
    <%!
        String printMultiTable()
        {
            String s = "";
            for (int i=1;i<9;i++)
            {
                for (int j=1;j<i;j++)
                {
                    s+=i+"*"+j+"="+(i*j)+"&nbsp;&nbsp;&nbsp;&nbsp";
                }
                s+="<br>";
            }
            return s;
        }
    %>
    <h1>九九乘法表</h1>
    <hr>
<%= printMultiTable()%>
</body>
</html>
